.nolist

;>*******************************************************************************************************************************
;*																																*
;*	File:	Render.inc																											*
;*																																*
;*																																*
;<*******************************************************************************************************************************

;>*******************************************************************************************************************************
;*																																*
;*	Structure:	DWORD_VECTOR																									*
;*																																*
;*																																*
;*	Members:																													*
;*	x	-																														*
;*	y	-																														*
;*	z	-																														*
;*	a	-																														*
;*																																*
;<*******************************************************************************************************************************
DWORD_VECTOR	struct
	x	DWORD	?
	y	DWORD	?
	z	DWORD	?
	a	DWORD	?
DWORD_VECTOR	ends

;>*******************************************************************************************************************************
;*																																*
;*	Structure:	WORD_VECTOR																										*
;*																																*
;*																																*
;*	Members:																													*
;*	w0	-																														*
;*	w1	-																														*
;*	w2	-																														*
;*	w3	-																														*
;*	w4	-																														*
;*	w5	-																														*
;*	w6	-																														*
;*	w7	-																														*
;*																																*
;<*******************************************************************************************************************************
WORD_VECTOR	struct
	w0	WORD	?
	w1	WORD	?
	w2	WORD	?
	w3	WORD	?
	w4	WORD	?
	w5	WORD	?
	w6	WORD	?
	w7	WORD	?
WORD_VECTOR	ends

;>*******************************************************************************************************************************
;*																																*
;*	Structure:	VECTOR																											*
;*																																*
;*																																*
;*	Members:																													*
;*	x	-																														*
;*	y	-																														*
;*	z	-																														*
;*	a	-																														*
;*																																*
;<*******************************************************************************************************************************
VECTOR	struct
	x	Real4	?
	y	Real4	?
	z	Real4	?
	a	Real4	?
VECTOR	ends

;>*******************************************************************************************************************************
;*																																*
;*	Structure:	POINT2D																											*
;*																																*
;*																																*
;*	Members:																													*
;*	x	-																														*
;*	y	-																														*
;*																																*
;<*******************************************************************************************************************************
POINT2D	struct
	x	DWORD	?
	y	DWORD	?
POINT2D	ends

;>*******************************************************************************************************************************
;*																																*
;*	Constants:	Image Buffer and Intermediate Buffer Dimensions																	*
;*																																*
;*	These are the size of the image buffer and the intermediate buffer.															*
;*																																*
;*	The current rendering process depends upon the product of these being a multiple of 32.										*
;*																																*
;*	Members:																													*
;*	IMAGE_WIDTH		- width of the image buffer																					*
;*	IMAGE_HEIGHT	- height of the image buffer																				*
;*																																*
;*	See Also:																													*
;*		- <pIntermediateBuffer>																									*
;*																																*
;<*******************************************************************************************************************************
IMAGE_WIDTH		equ	1024
IMAGE_HEIGHT	equ	768

;>*******************************************************************************************************************************
;*																																*
;*	Constants:	Miscellaneous Factors																							*
;*																																*
;*	These are just some factors that have miscellaneous meanings.																*
;*																																*
;*	Members:																													*
;*	WEIGHTS_FACTOR			- This*PointWeight*CircleIntensity = ResultingIntensity												*
;*	WEIGHTS_FACTOR_DWORD	- WEIGHTS_FACTOR as a DWORD																			*
;*	NUM_CUBE_NEURONS		- This is the number of neurons in the cube.														*
;*	NUM_CUBE_POINTS			- This is the number of spheres in the cube.														*
;*	NUM_ORBITA_POINTS		- This is the number of spheres in the orbit A neuron.												*
;*	NUM_ORBITB_POINTS		- This is the number of spheres in the orbit B neuron.												*
;*	NUM_TOTAL_POINTS		- This is the total number of spheres.																*
;*																																*
;<*******************************************************************************************************************************
WEIGHTS_FACTOR			equ	0.3765
WEIGHTS_FACTOR_DWORD	equ	3EC0C49Ch
NUM_CUBE_NEURONS		equ	44
NUM_CUBE_POINTS			equ	(MAX_POINTS_PER_NEURON*NUM_CUBE_NEURONS)
NUM_ORBITA_POINTS		equ	MAX_POINTS_PER_NEURON
NUM_ORBITB_POINTS		equ	MAX_POINTS_PER_NEURON
NUM_TOTAL_POINTS		equ	(NUM_CUBE_POINTS+NUM_ORBITA_POINTS+NUM_ORBITB_POINTS)

;>*******************************************************************************************************************************
;*																																*
;*	Constants:	Colour Constants																								*
;*																																*
;*	These define the 3 colours (A,B,C) involved with the image filter.															*
;*																																*
;*	Members:																													*
;*	RED_A	- red component of colour A																							*
;*	GREEN_A	- green component of colour A																						*
;*	BLUE_A	- blue component of colour A																						*
;*	RED_B	- red component of colour B																							*
;*	GREEN_B	- green component of colour B																						*
;*	BLUE_B	- blue component of colour B																						*
;*	RED_C	- red component of colour C																							*
;*	GREEN_C	- green component of colour C																						*
;*	BLUE_C	- blue component of colour C																						*
;*																																*
;<*******************************************************************************************************************************
RED_A	equ	0A0h
GREEN_A	equ	0C0h
BLUE_A	equ	0FFh
RED_B	equ	020h
GREEN_B	equ	049h
BLUE_B	equ	0F0h
RED_C	equ	000h
GREEN_C	equ	000h
BLUE_C	equ	000h


.list